package com.ucode.model.hrm.convert;

import com.ucode.model.hrm.HrmLeaveApplyRecord;
import com.ucode.model.hrm.form.HrmLeaveApplyRecordForm;
import com.ucode.model.hrm.vo.HrmLeaveApplyRecordVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface HrmLeaveApplyRecordConvert {

    HrmLeaveApplyRecordConvert INSTANCE = Mappers.getMapper(HrmLeaveApplyRecordConvert.class);

    HrmLeaveApplyRecord convert(HrmLeaveApplyRecordForm form);

    HrmLeaveApplyRecordVO convert(HrmLeaveApplyRecord bean);

    Paginator<HrmLeaveApplyRecordVO> convertPage(Paginator<HrmLeaveApplyRecord> page);

}
